// @Author YaoYa
// @Date 2024-07-29 23:36:00
// @Desc
package initialize

import "go.uber.org/zap"

func InitLogger() {
	//配置logger注册到全局中
	//logger, _ := zap.NewProduction()
	logger, _ := zap.NewDevelopment()
	defer logger.Sync()
	//sugar := logger.Sugar()
	zap.ReplaceGlobals(logger)

}
